﻿<UserControl x:Class="WPFInterview.DialogsQuestion"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:fi="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
    xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
    xmlns:cc="clr-namespace:WPFInterview;assembly=WPFInterview"
    >
    <Grid>
        <StackPanel>
        <Button Height="30" Name="buttonOpen" VerticalAlignment="Top" Click="buttonOpen_Click">Open File Dialog</Button>
        <WindowsFormsHost Height="150" Name="windowsFormsHost" />
        <fi:WindowsFormsHost Height="150">
                <wf:PropertyGrid x:Name="_xamlPropertyGrid"></wf:PropertyGrid>
        </fi:WindowsFormsHost>
        <fi:WindowsFormsHost>
            <wf:MaskedTextBox Mask="999-00-0000" BackColor="Red"></wf:MaskedTextBox>
        </fi:WindowsFormsHost>
        </StackPanel>
    </Grid>
</UserControl>
